#ifndef MOSELECTIONDIALOG_H
#define MOSELECTIONDIALOG_H

#include <list>

#include <QTableWidget>

#include "../MeasurementObject.h"
#include "BaseUI.h"

namespace ui {

typedef std::list<measurement::MeasObjIndex> IndexLst;

class MOSelectionWidget: public BaseUI {
    Q_OBJECT

    void getSelected(QTableWidget*, IndexLst&);
public:
    MOSelectionWidget(QWidget*);
    bool setup();

    void populateLists();
    IndexLst getSelected();
};

}

#endif // MOSELECTIONDIALOG_H
